import {requestClient} from "#/api/request";
import type {PageRequest, PageTransferSo, PageTransferVo, TransferSubmitBo} from "#/api/common";

export async function pageTransferRecordApi(
  data: PageRequest<PageTransferSo>,
) {
  return requestClient.post<PageTransferVo[]>('/transfer/page', data);
}

export async function submitTransferApi(
  data: TransferSubmitBo,
) {
  return requestClient.post<boolean>('/transfer/submit', data);
}
